package com.milhouz.bomberrokon.model;

public class TileData {

	private String texFilename;
	private boolean destructable;

	// If destructable
	private String explosionFilename;
	private int nbExplosionTiles = 1;
	private int frameTimeExplosion = 50;

	public TileData(String texFilename, boolean destructable) {
		this.texFilename = texFilename;
		this.destructable = destructable;
	}

	public TileData(String texFilename, boolean destructable, String explosionFilename, int nbExplosionTiles, int frameTimeExplosion) {
		this.texFilename = texFilename;
		this.destructable = destructable;
		this.explosionFilename = explosionFilename;
		this.nbExplosionTiles = nbExplosionTiles;
		this.frameTimeExplosion = frameTimeExplosion;
	}

	public String getTexFilename() {
		return texFilename;
	}

	public boolean isDestructable() {
		return destructable;
	}

	public String getExplosionFilename() {
		return explosionFilename;
	}

	public int getNbExplosionTiles() {
		return nbExplosionTiles;
	}

	public int getFrameTimeExplosion() {
		return frameTimeExplosion;
	}

}
